package com.sky.service.user.impl;

import com.sky.mapper.admin.MerchantMapper;
import com.sky.pojo.Merchant;
import com.sky.service.user.MerchantService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 商家信息接口实现类
 */
@Service
public class MerchantServiceImpl implements MerchantService {

    @Autowired
    private MerchantMapper merchantMapper;

    @Override
    public Merchant getShopById(Long id) {
        return merchantMapper.selectMerchant(id);
    }
}

